package com.example.servicebase.exceptionhandler;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wlg
 * @create_time 2021-08-24 下午 21:29
 * @function 自定义异常
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuliException extends RuntimeException {

    private Integer code;//状态码

    private String msg;//异常信息

}
